$bubble-chat-theme-color: rgba($primary, 80%);

.dialog-modal-container {
    .modal-title {
        width: 100%;
    }

    .dialog-modal-header {
        display: flex;
        justify-content: space-between;

        .header-title {
            display: flex;
            gap: 8px;
        }
    }
}


.chat-util-common {
    display: block;
    position: absolute;
    bottom: 100% !important;
    max-width: 100%;
    z-index: 99;
    font-size: 0.8rem;
    border-radius: 5px;
    max-height: 25em;
    overflow-y: auto;
    scrollbar-width: none;
}

.chat-option-list {
    padding: 3px 0px;
    inset: auto auto 100% 0px !important;

    .chat-option-item {
        padding: 5px 15px;
        cursor: pointer;
    }
    
    .chat-option-item:hover {
        background-color: var(--bs-primary);
        color: white;
    }
}

.chat-util-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    height: fit-content;
    width: 100%;
    z-index: 999;
    padding: 10px 15px;
    background-color: white;
}

.chat-util-item {
    text-align: center;
    font-size: 30px;
}

.chat-notification {
    min-height: 20px;
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: none;
}

.chat-bubble-container {
    display: flex;
    flex-direction: column;
    gap: 0px;

    .chat-bubble {
        margin: 5px 30px 0px 5px;
        display: inline-block;
        position: relative;
        min-width: 200px;
        max-width: 300px;
        background-color: $bubble-chat-theme-color;
        border-radius: .4em;
        color: white;

        &:after {
            content: ' ';
            position: absolute;
            top: 100%;
            right: 50px;
            width: 25px;
            height: 20px;
            clip-path: polygon(0 0, 100% 0, 100% 100%);
            background-color: $bubble-chat-theme-color;
        }
    
        .bubble-text {
            margin: 15px;
            height: fit-content;
            max-height: 100px;
            overflow-y: auto;
            scrollbar-width: none;
        }

        .bubble-delete {
            position: absolute;
            right: 5px;
            top: 3px;
        }
    }
}
